yield to temptation

Translations
поддаться искушению
He yielded to temptation and ate the cake.
Он поддался искушению и съел торт.
Definitions
To give in to a desire or urge, especially when it is considered wrong or inappropriate.